﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TouchPoint.Engine.Exceptions
{
    public enum ExceptionType
    {
        NullReference,
    }
    public static class ExceptionThrowHelper
    {
        public static Exception Error(ExceptionType type)
        {
            switch (type)
            {
                case ExceptionType.NullReference:return new NullReferenceException();
                default:return new Exception();
            }
        }
    }
}
